package daoImpl;

import dao.BookDao;
import dao.CustomerDao;
import dao.ShopOrderDao;

public class DaoImplFactory {
	private static BookDaoImpl bookDaoImpl = new BookDaoImpl();
	private static CustomerDaoImpl customerDaoImpl = new CustomerDaoImpl();
	private static ShopOrderDaoImpl shopOrderDaoImpl = new ShopOrderDaoImpl();
	
	public static BookDao getBookDao(){
		return bookDaoImpl;
	}
	
	public static CustomerDao getCustomerDao(){
		return customerDaoImpl;
	}
	
	public static ShopOrderDao getShopOrderDao(){
		return shopOrderDaoImpl;
	}
}
